{% extends 'base.html' %}

{% block container %}
<h3>
    <a href="{{ url_for('catalog.create_category') }}">添加分组</a>
</h3>
<div class="top-pad">
    {% for category in categories %}
        <a href="{{ url_for('catalog.category', id=category.id) }}">
            <h2>{{ category.name }}</h2>
        </a>
    {% endfor %}
</div>
{% endblock %}
